package itdfq.dfq.Structural_Patterns.qiaojie;

/**
 * @Author GocChin
 * @Date 2021/3/30 18:49
 * @Blog: itdfq.com
 * @QQ: 909256107
 */
public class Client {
    public static void main(String[] args) {
        System.out.println("18031210111    段方钦");
        Color color;
        color = (Color) XMLUtil.getBean("color");
        Car car = (Car) XMLUtil.getBean("car");
        car.setColor(color);
        car.draw();
    }
}
